<script>
	export default {
		globalData: {   
			userInfo:null,
		},
		onLaunch: function() {
			uni.hideTabBar({
				
			})
			console.log('App Launch')
		},
		
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods:{
			getUserInfo(){
				console.log(this)
				this.$request.queryAccountInfo()
				.then(res=>{
					if(res.code==0){
						this.globalData.userInfo=res.data
					}else{
						
					}
				})
			},
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import './common/uni.css';
	@import './common/common.scss';
</style>
